<!--
 * @Author: Leo.wang wanglizhigs@163.com
 * @Date: 2023-12-13 13:21:22
 * @LastEditors: Leo.wang wanglizhigs@163.com
 * @LastEditTime: 2023-12-14 11:42:09
 * @FilePath: /tuberculosis_screening_app/src/modules/patient/src/preview.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="p_default">
    <vue-office-pdf class="office-pdf" :src="doc" />
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import doc from './doc.pdf';
import VueOfficePdf from '@vue-office/pdf';

export default defineComponent({
  components: {
    VueOfficePdf,
  },
  setup(props) {
    return {
      doc,
    };
  },
});
</script>

<style lang="scss" scoped>
.office-pdf {
  :deep(.vue-office-pdf-wrapper) {
    padding: 0 !important;
    background: none !important;
  }
}
</style>
